package Model.Event
{
	import flash.events.Event;
	import Model.Post;
	
	public class SendPostEvent extends Event
	{
		public static const SEND:String = "sendPost";
		public var post:Post;
		
		public function SendPostEvent(type:String, post:Post, bubbles:Boolean=true, cancelable:Boolean=false)
		{
			
			super(type, bubbles, cancelable);
			this.post = post;
			
		}
		
		override public function clone():Event 
		{
			return new SendPostEvent(SEND,post);
		} 
		
	}
}